package com.zzyl.nursing.job;

import com.zzyl.nursing.service.INursingTaskService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class createNursingTaskJob {
    @Autowired
    private INursingTaskService nursingTaskService;
    /**
     * 定时生成护理任务
     */
    public void  createNursingTask () {
        nursingTaskService.addNursingTask();
    }
}
